package enhanced.neural.network.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import enhanced.neural.network.convert.DateTypeHandler;
import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.type.JdbcType;

@Setter
@Getter
@TableName(value = "t_user",autoResultMap = true)
public class UserInfoDO {

    @TableId
    private Long id;

    @TableField(value = "name", jdbcType = JdbcType.VARCHAR)
    private String name;

    @TableField(value = "age", jdbcType = JdbcType.INTEGER)
    private String age;

    @TableField(value = "gender", jdbcType = JdbcType.VARCHAR)
    private String gender;

    @TableField(value = "create_time",typeHandler = DateTypeHandler.class)
    private String createTime;

    @TableField(value = "modify_time",  typeHandler = DateTypeHandler.class)
    private String modifyTime;
}
